<!DOCTYPE html>
<html xmlns:shiro="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <fieldset class="table-search-fieldset" style="display: none;">
<!--            <legend>搜索信息</legend>-->
            <form class="layui-form layui-form-pane" action="">
                <input type="hidden" id="shopId" name="shopId" th:value="${shopId}"/>
                <input type="hidden" id="isAdmin" name="isAdmin" th:value="1"/>
                <!--                    <div class="layui-form-item">-->
                <!--                        <div class="layui-inline">-->
                <!--                            <label class="layui-form-label">商户名称</label>-->
                <!--                            <div class="layui-input-inline">-->
                <!--                                <input type="text" id="shopName" name="shopName" autocomplete="off" class="layui-input">-->
                <!--                            </div>-->
                <!--                        </div>-->
                <!--                        <div class="layui-inline">-->
                <!--                            <button type="submit" class="layui-btn layui-btn-primary" lay-submit lay-filter="data-search-btn">-->
                <!--                                <i class="layui-icon"></i> 搜 索</button>-->
                <!--                        </div>-->
                <!--                    </div>-->
            </form>
        </fieldset>
        <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
                <button shiro:hasPermission="module:shop:add" class="layui-btn layui-btn-sm data-add-btn"
                        lay-event="add">添加
                </button>
            </div>
        </script>
        <table class="layui-hide" id="exampleTable" lay-filter="currentTableFilter"></table>
        <script type="text/html" id="currentTableBar">
            <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" shiro:hasPermission="module:shop:remove" lay-event="delete">删除</a>
        </script>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
<div th:include="@{include} :: footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/shop/admin.js}"></script>
<script type="text/javascript">
    $(function() {
        console.log('shopId 111',$("#shopId").val())
        console.log('isAdmin  111',$("#isAdmin").val())
    });
</script>
</body>
</html>
